// @algorithm @lc id=100330 lang=cpp
// @title zuo-xuan-zhuan-zi-fu-chuan-lcof

#include "algm/algm.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
    string reverseLeftWords(string s, int n) {
        int length = s.length();
        string ans;
        ans += s.substr(n, length - n);
        ans += s.substr(0, n);
        return ans;
    }
};